//
//  JSMetableViewCell.m
//  NiubilityProject
//
//  Created by Apple on 2017/11/23.
//  Copyright © 2017年 Apple. All rights reserved.
//

#import "JSMetableViewCell.h"

@implementation JSMetableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)drawRect:(CGRect)rect
{
    CGContextRef context = UIGraphicsGetCurrentContext();
    CGContextSetFillColorWithColor(context, [UIColor clearColor].CGColor);
    CGContextFillRect(context, rect);
    //下分割线
    
     CGContextSetStrokeColorWithColor(context, JS_colorWithHex(0xe7e7e7).CGColor);
    CGContextStrokeRect(context, CGRectMake(0, rect.size.height, rect.size.width, flatf(1))); //SINGLE_LINE_HEIGHT 为线的高度
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
